/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mac
 * Date: 2022-09-25
 * Time: 9:20
 */
public class TestDemo {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        TreeNode root = binaryTree.createTree();
        //System.out.println(binaryTree.size1(root));
        //System.out.println(binaryTree.getLeafNodeCount2(root,4));
        //System.out.println(binaryTree.getHight(root));
        //System.out.println(binaryTree.find1(root, 'O'));
        //System.out.println(binaryTree.isCompleteTree(root));
        binaryTree.levelOrder(root);
    }
}
